using ProtoBuf;


namespace Sustainalytics.ESGRatings.DataContract.ESG
{
     [ProtoContract]
    public class CompanyGroupValuesDto
    {
         [ProtoMember(1)]
        public int Rank { get; set; }

         [ProtoMember(2)]
        public float Percentile { get; set; }

         [ProtoMember(3)]
        public int Count { get; set; }

         public CompanyGroupValuesDto(int rank, float percentile, int count)
         {
             Rank = rank;
             Percentile = percentile;
             Count = count;
         }

         public static CompanyGroupValuesDto Default()
         {
             return new CompanyGroupValuesDto(-1,-1,-1);
         }
    }
}
